package com.huibei.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huibei.pojo.Order;
import org.springframework.validation.beanvalidation.SpringValidatorAdapter;

import java.util.List;
import java.util.Map;

public interface IOrderService extends IService<Order> {

    //得到所有订单
    public List<Map<String, Object>> getOrderList(Map map);

    //修改订单信息
    public int changeInfo(Map map);

    //修改订单状态
    public int changeStatus(Map map);

    //取消订单
    public int cancelOrder(Map map);

}
